package ru.adhoc.truealarmfree.alarmreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import ru.adhoc.truealarmfree.utils.Util;

/**
 * Created by Малюгин Сергей on 18.10.13.
 */
public class AtBootReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) {
            Util.getInstance(context).restartAlarmsOnBootReceive();
            //Log.v("My", "Service loaded at start");
        }
    }
}
